﻿/* 
 *  <copyright file="Rotate.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */


using Microsoft.Xna.Framework;
using SobrietyEngine.Guids;

namespace SobrietyEngine.Events.UserActions
{
    public class Rotate: BaseUserAction, IEventData
    {
        public Vector3 RotateBy { get; set; }


        public Rotate(CGuid owner, Vector2 rotateBy)
            : base(owner)
        {
            RotateBy = new Vector3(rotateBy,0);
        }

        public Rotate(CGuid owner, Vector3 rotateBy)
            : base(owner)
        {
            RotateBy = rotateBy;
        }


    }
}